package com.gzxx.constant;

/**
 * @author MAX
 * @date 2020/7/24 12:11 下午
 * redis缓存标识符
 */
public class RedisCacheConstant {

    public static final String CURRENT_LOGIN_USER_KEY = "authentication:user:";

    public static final String CAPTCHA_KEY = "captcha:";

    /**
     * 后台用户token过期时间 1天
     */
    public static final long BACKEND_USER_TOKEN_VALIDITY = 1 * 24 * 60 * 60 * 1000;
}
